/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dominio;

/**
 *
 * @author d015532
 */
public class FactorDeRiesgo {
    
    private String idFactor;
    private String nombreFactor;
    private String descrFactor;
    private boolean esMonitoreado;
    
    public FactorDeRiesgo(){}
    
    public FactorDeRiesgo(String id, String nombre, String descr, boolean esMonit){
        this.idFactor = id;
        this.nombreFactor = nombre;
        this.descrFactor = descr;
        this.esMonitoreado = esMonit;
    }

    /**
     * @return the idFactor
     */
    public String getIdFactor() {
        return idFactor;
    }

    /**
     * @param idFactor the idFactor to set
     */
    public void setIdFactor(String idFactor) {
        this.idFactor = idFactor;
    }

    /**
     * @return the nombreFactor
     */
    public String getNombreFactor() {
        return nombreFactor;
    }

    /**
     * @param nombreFactor the nombreFactor to set
     */
    public void setNombreFactor(String nombreFactor) {
        this.nombreFactor = nombreFactor;
    }

    /**
     * @return the descrFactor
     */
    public String getDescrFactor() {
        return descrFactor;
    }

    /**
     * @param descrFactor the descrFactor to set
     */
    public void setDescrFactor(String descrFactor) {
        this.descrFactor = descrFactor;
    }

    /**
     * @return the esMonitoreado
     */
    public boolean isEsMonitoreado() {
        return esMonitoreado;
    }

    /**
     * @param esMonitoreado the esMonitoreado to set
     */
    public void setEsMonitoreado(boolean esMonitoreado) {
        this.esMonitoreado = esMonitoreado;
    }
    
    @Override
    public String toString() {
        return this.getIdFactor()+" "+this.getNombreFactor()+ " "+this.getDescrFactor();
    }
}
